from bs4 import BeautifulSoup

file = 'D:\\idea_workspace\\python\\study-python-crawler\\test\\beautifulsoup\\demo.html'


def test_find():
    with open(file, 'r') as f:
        #
        soup = BeautifulSoup(f, parser="html.parser")

        #
        print(soup.head.title)
        print(soup.body.div)
